﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TemplateList.aspx.cs" Inherits="Whir_System_Module_Template_TemplateList" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>模板列表</title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

body, p, th, td, input, select, textarea { font: 12px Verdana, "Times New Roman" , Times, serif; }
#tbTemplate a img { border: 0; }
#tbTemplate a { color: #039; text-decoration: underline; }
#tbTemplate a:hover { text-decoration: none; }
#tbTemplate {  border-collapse: collapse; empty-cells: show; cellspacing:0;rules:rows;border:1px;background-color: Transparent; border-color: DarkGray;border-width: 1px; border-style: Solid; width: 100%; }
#tbTemplate tr { background-color: white; }
#tbTemplate tr.alter { background-color: #eee; }
#tbTemplate tr.over { background-color: #B7DBF9 !important; }
#tbTemplate tr.selected { background-color: #ccf !important; }
#tbTemplate tr.empty td { color: #666; text-align: center; border-bottom-color:darkgray;border-bottom-style:inset;}
#tbTemplate th { background-color: #ccc; font-weight: bold; text-align: left; }

    </style>
</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DADADA"
            style="margin-bottom: 10px;">
            <tr>
                <td class="form_td"><a href="#" onclick="var dir='<%=Server.UrlEncode(dir) %>';var isOk = window.showModalDialog('CreateDirectory.aspx',dir,'dialogHeight:140px; dialogWidth:300px;dialogFullscreen=no;');if(isOk != null){window.location.reload();}">
                    <b>新建模板目录</b></a>&nbsp;&nbsp; <a href="#" onclick="var dir='<%=Server.UrlEncode(dir) %>';var isOk = window.showModalDialog('CreateTemplate.aspx',dir,'dialogHeight:140px; dialogWidth:300px;dialogFullscreen=no;');if(isOk != null){window.location.reload();}">
                        <b>新建首页模板</b></a>&nbsp;&nbsp; <a href="#" onclick="var dir='<%=Server.UrlEncode(dir) %>';var isOk = window.showModalDialog('UploadTemplate.aspx',dir,'dialogHeight:140px; dialogWidth:300px;dialogFullscreen=no;');if(isOk != null){window.location.reload();}">
                        <b>新建栏目页模板</b></a>&nbsp;&nbsp; <a href="#" onclick="var dir='<%=Server.UrlEncode(dir) %>';var isOk = window.showModalDialog('UploadTemplate.aspx',dir,'dialogHeight:140px; dialogWidth:300px;dialogFullscreen=no;');if(isOk != null){window.location.reload();}">
                        <b>新建内容页模板</b></a>&nbsp;&nbsp; <a href="#" onclick="var dir='<%=Server.UrlEncode(dir) %>';var isOk = window.showModalDialog('UploadTemplate.aspx',dir,'dialogHeight:140px; dialogWidth:300px;dialogFullscreen=no;');if(isOk != null){window.location.reload();}">
                        <b>新建单页模板</b></a>&nbsp;&nbsp; <a href="#" onclick="var dir='<%=Server.UrlEncode(dir) %>';var isOk = window.showModalDialog('UploadTemplate.aspx',dir,'dialogHeight:140px; dialogWidth:300px;dialogFullscreen=no;');if(isOk != null){window.location.reload();}">
                            <b>上传模板</b></a> </td>
            </tr>
        </table>
        <asp:Table ID="tbTemplate" runat="server">
        </asp:Table>
        <br />
        &nbsp;<asp:Button ID="btnBack" runat="server" Text="后退" CssClass="btn_default" OnClick="btnBack_Click" />
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" src="../../Js/common.js"></script>

